<include file="./Tpl/Home/top.html"/>
<include file="./Tpl/Home/header.html" />
<!--交易页面的子导航区-->
<div class="subnav">
	<div class="container">
		<ul>
			 <li><a href="{$path}/Hall">买入 | 卖出</a><i></i></li>
			 <li><a href="{$path}/Hall/ent">我的委托</a><i></i></li>
			 <li><a href="{$path}/Hall/trans">我的交易</a></li>
			 <li class="cur"><a href="{$path}/Hall/alltrans">全站交易</a></li>
		</ul>
	</div>    
</div>
<div class="container">
<!--我的委托-->
<div class="trade-part trade-part-hd mt20">
  <div class="trade-hd">
        <h5><i class="icon_userde"></i>全站交易</h5>
  </div>
  <div class="md">
  <div class="my-grid" id="order-grid">
	<table class="items table table-striped table-bordered table-condensed">
		<thead>
		<tr>
		<th>创建时间</th><th>交易类型</th><th>价格</th><th>数量</th><th>总金额</th></tr>
		</thead>
		<tbody>
		<volist name="list" id="vo" empty="$empty">
		<tr><td>{$vo.addtime|default='无'}</td><td><eq name="vo.flag" value="0">卖<else/>买</eq></td><td>{$vo.price|default=0}</td><td>{$vo.num|default=0}</td><td>{$vo.sum|default=0}</td></tr>
		</volist>
		</tbody>
	</table>
    <div class="pagination">
		<ul id="yw0" class="yiiPager">
		<li class="first disabled"><a href="{$path}/Hall/alltrans/page/1">&lt;&lt; 首页</a></li>
		<li class="previous disabled"><a href="{$path}/Hall/alltrans/page/{$page-1}">←</a></li>
		<li class="next"><a href="{$path}/Hall/alltrans/page/{$page+1}">→</a></li>
		<li class="last"><a href="{$path}/Hall/alltrans/page/{$page_num}">末页 &gt;&gt;</a></li>
		</ul>
	</div>
</div>
</div>
</div>
</div>
<!--尾部-->
<include file="./Tpl/Home/footer.html" />
<!-- footer -->

<div class="modal hide fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>

<!--[if IE 6]><script src="/js/ie-6.js"></script><![endif]-->
<script type="text/javascript" src="js/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="js/slideTxtBox.js"></script>
<script type="text/javascript" src="js/bootbox.js"></script>
<script type="text/javascript" src="js/box.js"></script>
<script type="text/javascript" src="js/lang.js"></script>
<script type="text/javascript" src="js/responseHandler.js"></script>
<script type="text/javascript" src="js/jquery.yiigridview.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(function($) {
jQuery('body').popover({'selector':'a[rel=popover]'});
jQuery(document).on('click','#order-grid a.cancel',
              function(e){
                box.confirm(
                  e,
                  "确定？",
                  $(this).attr("href"),
                  {},
                  function(){
                    getData();
                    box.updateGrid("order-grid");
                  });
              }
            );
jQuery('#order-grid').yiiGridView({'ajaxUpdate':['order-grid'],'ajaxVar':'ajax','pagerClass':'pagination','loadingClass':'grid-view-loading','filterClass':'filters','tableClass':'items table table-striped table-bordered table-condensed','selectableRows':1,'enableHistory':false,'updateSelector':'{page}, {sort}','filterSelector':'{filter}','pageVar':'CurrencyOrder_page'});
});
/*]]>*/
</script>


</body></html>